package com.wangch.dao;

import com.wangch.pojo.User;

import java.util.List;

public interface IUserDao {
    List<User> findAll() throws Exception;

    User findByCondition(User user) throws Exception;

    void insert(User user);

    void update(User user);

    void delete(User user);
}
